var express = require('express');
var router = express.Router();


var sysSettingCtrl = require('../controllers/sysSettingCtrl');
router.get('/home', function (req, res) {

    return res.redirect(303, '/views/sysSettingHome.html');
});


router.get('/', sysSettingCtrl.get);
router.get('/:id', sysSettingCtrl.getOne);
router.post('/add', sysSettingCtrl.add);
router.post('/update', sysSettingCtrl.update);
router.get('/delete', sysSettingCtrl.remove);



module.exports = router;
